package com.zhiyou.teacher.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import com.zhiyou.teacher.common.model.SuperEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author hqb
 * @date 2020-01-17 16:10:12
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class User extends SuperEntity {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "姓名")
            private String name;
    @ApiModelProperty(value = "年龄")
            private Integer age;
    @ApiModelProperty(value = "邮箱")
            private String email;
    @TableLogic
    @ApiModelProperty(value = "是否删除",hidden = true)
    private Boolean isDel;
}
